#ifndef SEGMENT_H
#define SEGMENT_H

#include "point.h"

class segment
{
    public:
        segment();
        segment(const point &a, const point &b);

        double get_y(double x) const;

        point a, b;
    private:
        double get_y_gmp(double x) const;
};

#endif
